package com.chenyun.rpc.dubbo.satoken.model;

import cn.dev33.satoken.context.model.SaRequest;
import org.apache.dubbo.rpc.RpcContext;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 移植 sa-token-dubbo3 中的代码到此处
 * @author: Lonni
 * @date: 2024/1/22 0022 16:35
 */

public class SaRequestForDubbo3 implements SaRequest {
    protected RpcContext rpcContext;

    public SaRequestForDubbo3(RpcContext rpcContext) {
        this.rpcContext = rpcContext;
    }

    public Object getSource() {
        return this.rpcContext;
    }

    public String getParam(String name) {
        return null;
    }

    public List<String> getParamNames() {
        return null;
    }

    public Map<String, String> getParamMap() {
        return null;
    }

    public String getHeader(String name) {
        return null;
    }

    public String getCookieValue(String name) {
        return null;
    }

    public String getRequestPath() {
        return null;
    }

    public String getUrl() {
        return null;
    }

    public String getMethod() {
        return null;
    }

    public Object forward(String path) {
        return null;
    }
}




